﻿using System;

using cn.cityworks;

class Hello
{
    static void Main(string[] args)
    {
        // var stu = new Student();
        // stu.Name = "afterloe";
        // stu.Age = 5;

        var stu = new Student("afterloe", 12);


        // object name = "afterloe";
        // string name = "afterloe";
        // Console.WriteLine("Hello " + stu.Name + " , this is first C# Program !!");
        Console.WriteLine($"I'm {stu.Name}, my age is {stu.Age}");

        Console.WriteLine("What you name?");
        var name = Console.ReadLine();
        var currentDate = DateTime.Now;
        Console.WriteLine($"[info][{currentDate:yyyy-MM-dd HH:mm:ss}]: your name is {name}");
        Console.WriteLine("Press any Key to exit.");
        Console.ReadKey(true);
    }
}
